﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Model
{
    /// <summary>
    /// 积分订单
    /// </summary>
    public class ms_order_integral
    {
        /// <summary>
        /// 编号
        /// </summary>
        public string id { get; set; }
        /// <summary>
        /// 订单编号
        /// </summary>
        public string order_sn { get; set; }
        /// <summary>
        /// 商家ID
        /// </summary>
        public string merchant_id { get; set; }
        /// <summary>
        /// 商家名
        /// </summary>
        public string merchant_name { get; set; }
        /// <summary>
        /// 商家电话
        /// </summary>
        public string merchant_tel { get; set; }
        /// <summary>
        /// 1.积分  2.赠品
        /// </summary>
        public string types { get; set; }
        /// <summary>
        /// 资金类型 1.现金 2，营销资金
        /// </summary>
        public string fund_type { get; set; }
        /// <summary>
        /// 买家ID
        /// </summary>
        public string user_id { get; set; }
        /// <summary>
        /// 买家账号
        /// </summary>
        public string user_tel { get; set; }
        /// <summary>
        /// 昵称
        /// </summary>
        public string nickname { get; set; }
        /// <summary>
        /// 福利活动ID
        /// </summary>
        public string activities_id { get; set; }
        /// <summary>
        /// 商品信息json
        /// </summary>
        public string goods_info { get; set; }
        /// <summary>
        /// 订单积分
        /// </summary>
        public string integral { get; set; }
        /// <summary>
        /// 是否邮寄 1是 2否-线下领取
        /// </summary>
        public string is_mail { get; set; }
        /// <summary>
        /// 收货人姓名-邮寄
        /// </summary>
        public string consignee_name { get; set; }
        /// <summary>
        /// 收货人电话-邮寄
        /// </summary>
        public string consignee_tel { get; set; }
        /// <summary>
        /// 收货人地址-邮寄
        /// </summary>
        public string consignee_address { get; set; }
        /// <summary>
        /// 快递公司ID-邮寄
        /// </summary>
        public string express_id { get; set; }
        /// <summary>
        /// 快递公司-邮寄
        /// </summary>
        public string express_name { get; set; }
        /// <summary>
        /// 快递单号-邮寄
        /// </summary>
        public string courier_number { get; set; }
        /// <summary>
        /// 领取地址-线下
        /// </summary>
        public string receiving_address { get; set; }
        /// <summary>
        /// 经度:106.55269-线下
        /// </summary>
        public string longitude { get; set; }
        /// <summary>
        /// 纬度:29.64810-线下
        /// </summary>
        public string latitude { get; set; }
        /// <summary>
        /// 线下核销code
        /// </summary>
        public string codes { get; set; }
        /// <summary>
        /// 状态，邮寄状态：1 待发货（邮寄） 2.待核销（线下） 3.已完成
        /// </summary>
        public string status { get; set; }
        /// <summary>
        /// 领取时间-线下
        /// </summary>
        public string receiving_time { get; set; }
        /// <summary>
        /// 发货时间-邮寄
        /// </summary>
        public string deliver_time { get; set; }
        /// <summary>
        /// 下单时间
        /// </summary>
        public string add_time { get; set; }
        /// <summary>
        /// 更新时间
        /// </summary>
        public string update_time { get; set; }
    }
}
